<!doctype html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>首页</title>
    <link rel="stylesheet" type="text/css" href="../../css/api.css"/>
    <link rel="stylesheet" type="text/css" href="../../css/aui.css" />
    <link rel="stylesheet" type="text/css" href="../../css/aui-slide.css" />
    <link rel="stylesheet" type="text/css" href="../../css/aui-pull-refresh.css" />
    <link rel="stylesheet" type="text/css" href="../../css/style.css" />
</head>
<style>
    html,body{
        font-size: 10px;
        background: linear-gradient(rgba(255,255,255,0.1),rgba(255,255,255,0.8),rgba(255,255,255,0.8),#fff); /* Safari 5.1 - 6.0 */
        background: -webkit-linear-gradient(rgba(255,255,255,0.1),rgba(255,255,255,0.8),rgba(255,255,255,0.8),#fff); /* Safari 5.1 - 6.0 */
    }
    .footer{
        width: 100%;
        height: 10.15rem;
        position: fixed;
        bottom: 0;
        z-index: 2;
    }
    .anchorBL{
        display: none;
    }
    .fun{
        position: absolute;
        width: 3.75rem;
        height: 3.75rem;
        background-color: #ffffff;
        box-shadow: 0rem 0rem 0.7rem 0.3rem
            rgba(57, 56, 56, 0.1);
        border-radius: 0.5rem;
    }
    .qr_code{
        position: absolute;
        width: 16rem;
    	height: 8.2rem;
    	background-color: #ffffff;
    	box-shadow: 0rem 0.25rem 1.25rem 0rem
    		rgba(28, 146, 219, 0.35);
    	border-radius: 4.1rem;
        left: 0;
        right: 0;
        margin: auto;
    	/*opacity: 0.35;*/
    }
    .user{
        top: 4.75rem;
        left: 0.75rem;
    }
    .massage{
        top: 4.75rem;
        right: 0.75rem;
    }
    .qr_code_btn{
        width: 14.85rem;
    	height: 7.1rem;
    	background-color: #0a87ff;
    	border-radius: 3.55rem;
        margin:0.5rem auto;
    	color: #fafafa;
        line-height: 7.1rem;
        font-size: 1.7rem;
        text-align: center;
    }
    .qr_code_btn img{
        display: inline;
        margin: 0 1.2rem 0 0;
        width: 2.15rem;
	    height: 2.15rem;
        position: relative;
        top: 0.6rem;
    }
    .fun img{
        width: 100%;
        height: 100%;
    }
</style>
<body style="background: #f4f4f4;">
<div id="app">
    <footer class="footer">
        <div class="fun user" @click="a==0?login('login','login/login',''):goto()">
            <img src="../../image/user.png" alt="">
        </div>
        <div class="qr_code">
            <div class="qr_code_btn">
                <img src="../../image/qr.png" alt="">扫码开机
            </div>
        </div>
        <div class="fun massage">
            <img src="../../image/bell.png" alt="">
        </div>
    </footer>
</div>
</body>
</html>
<script type="text/javascript" src="../../script/api.js"></script>
<script type="text/javascript" src="../../script/zepto.js"></script>
<script type="text/javascript" src="../../script/vue.min.js"></script>
<script type="text/javascript" src="../../script/aui-tab.js"></script>
<script type="text/javascript" src="../../script/aui-scroll.js"></script>
<script type="text/javascript" src="../../script/aui-slide.js"></script>
<script type="text/javascript" src="../../script/aui-pull-refresh.js"></script>
<script type="text/javascript">
    apiready = function() {
    }
    new Vue({
        el: "#app",
        data: {
          a:1
        },
        methods: {
            login:function(name,page,type){
                api.openWin({
                    name: name,
                    url: '../header/login_header.html',
                    pageParam: {
                        name: page,
                        type:type
                    }
                });
            },
            goto:function(){
                api.openWin({
                    name: 'myself',
                    url: '../myself/myself.html',
                    pageParam: {
                        test:''
                    }
                });
              }

        },
    })


</script>
